/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

import java.util.Date;

/**
 * <p>Project: javase2203 - Arr4
 * <p>Powered by webrx On 2022-07-12 15:30:50
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Arr4 {
    public static void main(String[] args) {
        //声明一个放任何元素的数组
        Object[] os = new Object[5];
        os[0] = new Date();

        int[] a = new int[3];

        String[] addr = "北京,上海,天津,深圳,重庆,郑州".split(",");
        System.out.println(addr.length);
        System.out.println(addr[5]);

        String[] ab = addr;
        ab[5] = "开封";
        System.out.println(ab[5]);

        System.out.println(addr[5]);

    }
}
